// Create a singleton class
var sismitPlugin = function() {
}
 
// ALERT de Prueba
sismitPlugin.prototype.show = function(str, success, fail) {
    PhoneGap.exec(success, fail, "SISMITMobilePlugin", "show", [str]);
};
/*
// Imprimir Boleta ORIGINAL
sismitPlugin.prototype.imprimir_original = function(str, success, fail) {
    PhoneGap.exec(success, fail, "SISMITMobilePlugin", "imprimir_original", [str]);
};

// Imprimir Boleta Copia
sismitPlugin.prototype.imprimir_copia = function(str, success, fail) {
    PhoneGap.exec(success, fail, "SISMITMobilePlugin", "imprimir_copia", [str]);
};
*/
navigator.sismitPlugin = new sismitPlugin();